package com.tang.shardingjdbcdemo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tang.shardingjdbcdemo.entity.Order;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Dream
 */
@Repository
public interface OrderMapper extends BaseMapper<Order> {
    /**
     * 复杂查询
     * @return
     */
    List<Order> selectWithComplex();
}
